package org.coldlife.sim.grav.settings;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class DefaultPropertiesGenerator 
{
	private static final File defaults = new File(".\\src\\main\\resources\\default.properties");
	
	public static void main(String[] args) throws IOException 
	{
		SettingsManager settingsManager = new SettingsManager();
		settingsManager.getDefaultProps().setProperty(SettingsManager.NUM_PARTICLE, "50");
		settingsManager.getDefaultProps().setProperty(SettingsManager.WINDOW_HEIGHT, "480");
		settingsManager.getDefaultProps().setProperty(SettingsManager.WINDOW_WIDTH, "640");
		settingsManager.getDefaultProps().store(new FileOutputStream(defaults), null);
	}
}
